package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.ApproveLog;

/**
 * 审批记录Service接口
 * 
 * @author hyb
 * @date 2023-02-06
 */
public interface IApproveLogService 
{
    /**
     * 查询审批记录
     * 
     * @param id 审批记录主键
     * @return 审批记录
     */
    public ApproveLog selectApproveLogById(Long id);

    /**
     * 查询审批记录列表
     * 
     * @param approveLog 审批记录
     * @return 审批记录集合
     */
    public List<ApproveLog> selectApproveLogList(ApproveLog approveLog);

    /**
     * 新增审批记录
     * 
     * @param approveLog 审批记录
     * @return 结果
     */
    public int insertApproveLog(ApproveLog approveLog);

    /**
     * 修改审批记录
     * 
     * @param approveLog 审批记录
     * @return 结果
     */
    public int updateApproveLog(ApproveLog approveLog);

    /**
     * 批量删除审批记录
     * 
     * @param ids 需要删除的审批记录主键集合
     * @return 结果
     */
    public int deleteApproveLogByIds(Long[] ids);

    /**
     * 删除审批记录信息
     * 
     * @param id 审批记录主键
     * @return 结果
     */
    public int deleteApproveLogById(Long id);

    List<ApproveLog> selectApproveLogpf2orpf3(ApproveLog approveLog);

    void updateApproveLogByActivityIdAndPf3(ApproveLog approveLog);

    List<ApproveLog> selectApproveLogListByAll(ApproveLog a);
}
